/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jkoa.stripes.action;

import com.jkoa.BaseActionBean;
import com.jkoa.model.Pengalaman;
import com.jkoa.model.Peribadi;
import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.ForwardResolution;
import net.sourceforge.stripes.action.HandlesEvent;
import net.sourceforge.stripes.action.HttpCache;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.action.UrlBinding;
import net.sourceforge.stripes.action.Wizard;

/**
 *
 * @author fikri
 */
@HttpCache(allow = false)
@Wizard(startEvents = {"Step1"})
@UrlBinding("/daftar/kaunter")
public class PermohonanKaunter extends BaseActionBean{
    
    private Peribadi peribadi;
    
    private Pengalaman pengalaman;

    public Peribadi getPeribadi() {
        return peribadi;
    }

    public void setPeribadi(Peribadi peribadi) {
        this.peribadi = peribadi;
    }

    public Pengalaman getPengalaman() {
        return pengalaman;
    }

    public void setPengalaman(Pengalaman pengalaman) {
        this.pengalaman = pengalaman;
    }
    
    
    @HandlesEvent("Step1")
    @DefaultHandler
    public Resolution personalInfo() {       

        return new ForwardResolution("/WEB-INF/jsp/daftar/kaunter/main.jsp");
    }   
    
}
